<div ng-controller="listallimgs">
    <input id="upimage" type="file" name="AIimages" value="上传单张图片">上传单张图片<br>
    <p><button ng-click='uploadimgs()'>单张提交</button></p>
    <input id="upimages" type="file" multiple="multiple" name="AIPictures" value="批量上传图片">批量上传图片<br>
    <p><button ng-click='uploadpics()'>批量提交</button></p>
    <span ng-repeat="photo in phs">
        <img ng-src="{{ photo.UpImage }}" height=150 width=200></img>
    </span>
</div>